using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;

namespace NUnitTestHelper
{
    #region NUnitOptions

    public class NUnitBuildOptions
    {
        private bool bEnableUnitTesting = true;

        /// <summary>
        /// Indicates Unit Testing is Enabled
        /// </summary>
        public bool EnableUnitTesting
        {
            get { return (bEnableUnitTesting); }
            set { bEnableUnitTesting = value; }
        }

        private string sNUnitExePath = String.Empty;

        /// <summary>
        /// Path to the nunit-console.exe application
        /// </summary>
        public string NUnitExePath
        {
            get { return (sNUnitExePath); }
            set { sNUnitExePath = value; }
        }

        private string sNUnitConfigPath = String.Empty;

        /// <summary>
        /// Path to the .nunit file used with the nunit-console.exe app to test our application
        /// </summary>
        public string NUnitConfigPath
        {
            get { return (sNUnitConfigPath); }
            set { sNUnitConfigPath = value; }
        }

        private bool bEnableEmail = true;

        /// <summary>
        /// Indicates Sendinf Email is Enabled
        /// </summary>
        public bool EnableEmail
        {
            get { return (bEnableEmail); }
            set { bEnableEmail = value; }
        }

        private StringCollection emailAddresses = new StringCollection();

        /// <summary>
        /// Email addresses used to send out NUnit testing notices
        /// </summary>
        public StringCollection EmailAddresses
        {
            get { return (emailAddresses); }
            set { emailAddresses = value; }
        }

        private string sEmailSubject = String.Empty;

        /// <summary>
        /// Subject for the NUnit mail message
        /// </summary>
        public string EmailSubject
        {
            get { return (sEmailSubject); }
            set { sEmailSubject = value; }
        }

        private string smtpServer = String.Empty;

        /// <summary>
        /// SMTP Server for the NUnit mail message
        /// </summary>
        public string SMTPServer
        {
            get { return (smtpServer); }
            set { smtpServer = value; }
        }
    }

    #endregion
}
